{% load sell_tags %}
{% load users_tags %}

<form method="get" action="{% url bidding_buy_now item.id %}" name="form" class="buy_now">
	<h2>
		Price: {{ item.price|money_format:shop  }}
	</h2>
	{% if shop|is_bidder:user %}
		{% if item.has_stock %}
			<button type="submit" class="btn primary">Add to Cart</button>
		{% else %}
			<h4>Product out of stock</h4>
			{% if item.sold_out_date %}
				<h4 id="sold_msg">SOLD</h4>
			{% endif %}
		{% endif %}
	{% endif %}
</form>
